package com.briup.common.dao;


import java.math.BigDecimal;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.SqlSession;

import com.briup.common.bean.TblLink;
import com.briup.common.bean.TblLinkExample;

public interface TblLinkMapper {
	public int insertLinkByNameAndUrl(@Param("name") String name,@Param("url") String url);
	public List<TblLink> selectTblLink();
	public int deleteLinkByid(String id);
	/**
	 * 通过id修改链接内容
	 * @param id
	 * @param name
	 * @param url
	 * @return
	 */
	int updateLinkByid(@Param("id")String id,@Param("name")String name,@Param("url")String url) ;
}